import Home from './Home';
import News from './News';
import NewsDetail from './NewsDetail';
import NewsSearch from './NewsSearch';
import NewsHome from './NewsHome';

export default [
    { path: '/', component: Home },
    { path: '/news', component: News, children: [
        { path: '/', exact: true, component: NewsHome },
        { path: '/detail', exact: true, component: NewsDetail },
        { path: '/search', exact: true, component: NewsSearch }
    ]}
]